/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo03_一个对象内存图 {

    public static void main(String[] args) {
        Phone phone=new Phone();
        phone.brand="小米";
        phone.price=8999;
        phone.color="尊贵金";

        phone.call("小红");
        phone.sendMessage();

        System.out.println("手机的品牌: "+phone.brand);
        System.out.println("手机的价格: "+phone.price);
        System.out.println("手机的颜色: "+phone.color);

    }
}
